package com.ruoyi.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 erp_products
 * 
 * @author ruoyi
 * @date 2024-04-28
 */
public class ErpProducts extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 颜色 */
    @Excel(name = "颜色")
    private String productCode;

    /** 名称 */
    @Excel(name = "名称")
    private String productName;

    /** 属性 */
    @Excel(name = "属性")
    private String productAttr;

    /** 重量 */
    @Excel(name = "重量")
    private BigDecimal weight;

    /** 货架 */
    @Excel(name = "货架")
    private Long shelfLife;

    /** 类型 */
    @Excel(name = "类型")
    private String productType;

    /** 单位 */
    @Excel(name = "单位")
    private String productUnit;

    /** 序列号 */
    @Excel(name = "序列号")
    private String productSerialNo;

    /** 批号 */
    @Excel(name = "批号")
    private String productBatchNo;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setProductCode(String productCode) 
    {
        this.productCode = productCode;
    }

    public String getProductCode() 
    {
        return productCode;
    }
    public void setProductName(String productName) 
    {
        this.productName = productName;
    }

    public String getProductName() 
    {
        return productName;
    }
    public void setProductAttr(String productAttr) 
    {
        this.productAttr = productAttr;
    }

    public String getProductAttr() 
    {
        return productAttr;
    }
    public void setWeight(BigDecimal weight) 
    {
        this.weight = weight;
    }

    public BigDecimal getWeight() 
    {
        return weight;
    }
    public void setShelfLife(Long shelfLife) 
    {
        this.shelfLife = shelfLife;
    }

    public Long getShelfLife() 
    {
        return shelfLife;
    }
    public void setProductType(String productType) 
    {
        this.productType = productType;
    }

    public String getProductType() 
    {
        return productType;
    }
    public void setProductUnit(String productUnit) 
    {
        this.productUnit = productUnit;
    }

    public String getProductUnit() 
    {
        return productUnit;
    }
    public void setProductSerialNo(String productSerialNo) 
    {
        this.productSerialNo = productSerialNo;
    }

    public String getProductSerialNo() 
    {
        return productSerialNo;
    }
    public void setProductBatchNo(String productBatchNo) 
    {
        this.productBatchNo = productBatchNo;
    }

    public String getProductBatchNo() 
    {
        return productBatchNo;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("productCode", getProductCode())
            .append("productName", getProductName())
            .append("productAttr", getProductAttr())
            .append("weight", getWeight())
            .append("shelfLife", getShelfLife())
            .append("productType", getProductType())
            .append("productUnit", getProductUnit())
            .append("productSerialNo", getProductSerialNo())
            .append("productBatchNo", getProductBatchNo())
            .toString();
    }
}
